﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ucCommand.ascx.cs" Inherits="PromotionApp.UserControl.ucCommand" %>

<table border="0" cellpadding="0" cellspacing="0" width="100%">
    <tr>
        <td valign="top" align="left" style="width:50%;">   
            &nbsp;&nbsp;        
            <asp:Button ID="btnAdd" CssClass="btnAdd" runat="server" Text="" ToolTip="Add" onclick="btnAdd_Click" />
            <asp:Button ID="btnEdit" CssClass="btnEdit disabled" runat="server" Text="" ToolTip="Edit" onclick="btnEdit_Click" />
            <asp:Button ID="btnDelete" runat="server" Text="" ToolTip="Delete" onclick="btnDelete_Click" OnClientClick="return confirm('Are you sure to want to delete this item ?')" />            
        </td>
        <td valign="top" align="right" style="width:50%;">            
            <asp:Button ID="btnReset" CssClass="btnReset" runat="server" Text="" ToolTip="Reset" onclick="btnReset_Click" />
            <asp:Button ID="btnSearch" CssClass="btnSearch" runat="server" Text="" ToolTip="Search" onclick="btnSearch_Click" />
            <asp:Button ID="btnCancel" CssClass="btnCancel" runat="server" Text="" ToolTip="Cancel" onclick="btnCancel_Click" />      
            <asp:Button ID="btnSave" CssClass="btnSave" runat="server" Text="" ToolTip="Save" onclick="btnSave_Click" />      
        </td>
    </tr>
</table>